package com.competition.commgr.mapper;

import java.util.List;
import com.competition.commgr.domain.Competitionitem;
import com.competition.commgr.domain.vo.CompetitionItemVo;

/**
 * 赛项管理Mapper接口
 * 
 * @author cui
 * @date 2025-01-27
 */
public interface CompetitionitemMapper 
{
    /**
     * 查询赛项管理
     * 
     * @param comItemId 赛项管理主键
     * @return 赛项管理
     */
    public Competitionitem selectCompetitionitemByComItemId(Long comItemId);

    /**
     * 查询赛项管理列表
     * 
     * @param competitionitem 赛项管理
     * @return 赛项管理集合
     */
    public List<Competitionitem> selectCompetitionitemList(Competitionitem competitionitem);

    /**
     * 新增赛项管理
     * 
     * @param competitionitem 赛项管理
     * @return 结果
     */
    public int insertCompetitionitem(Competitionitem competitionitem);

    /**
     * 修改赛项管理
     * 
     * @param competitionitem 赛项管理
     * @return 结果
     */
    public int updateCompetitionitem(Competitionitem competitionitem);

    /**
     * 删除赛项管理
     * 
     * @param comItemId 赛项管理主键
     * @return 结果
     */
    public int deleteCompetitionitemByComItemId(Long comItemId);

    /**
     * 批量删除赛项管理
     * 
     * @param comItemIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCompetitionitemByComItemIds(Long[] comItemIds);

    List<CompetitionItemVo> selectCompetitionitemVoList(Competitionitem competitionitem);

    CompetitionItemVo selectOneCompetitionitem(CompetitionItemVo competitionItemVo);

    Competitionitem selectCompetitionitemByName(String comItemName);
}
